//Wyswietla wynik
#ifndef SCORELAYER_H_
#define SCORELAYER_H_
#include "cocos2d.h"
using namespace cocos2d;
class ScoreLayer : public cocos2d::CCLayer{
private:
	void renderEndScreen(bool won);
public:
	static ScoreLayer* node();
	CCLabelTTF* scoreLabel;
	CCLabelTTF* livesLabel;
	void addPoint();
	void takeLive();
	void won();
	CREATE_FUNC(ScoreLayer);
	virtual bool init();
};

#endif /* SCORELAYER_H_ */
